package onlinejudge.vo;

public class CommunityVo {

	private int communityId;
	private int userId;
	private String itemTitle;
	private String itemContent;
	private String itemDate;
	private int itemCount;
	private String userName;
	private String userImg;
	
	public CommunityVo() {
		super();
	}
	public CommunityVo(int communityId, int userId, String itemTitle, String itemContent, String itemDate,
                       int itemCount, String userName, String userImg) {
		super();
		this.communityId = communityId;
		this.userId = userId;
		this.itemTitle = itemTitle;
		this.itemContent = itemContent;
		this.itemDate = itemDate;
		this.itemCount = itemCount;
		this.userName = userName;
		this.userImg = userImg;
	}

	public int getCommunityId() {
		return communityId;
	}
	public void setCommunityId(int communityId) {
		this.communityId = communityId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getItemContent() {
		return itemContent;
	}
	public void setItemContent(String itemContent) {
		this.itemContent = itemContent;
	}
	public String getItemDate() {
		return itemDate;
	}
	public void setItemDate(String itemDate) {
		this.itemDate = itemDate;
	}
	public int getItemCount() {
		return itemCount;
	}
	public void setItemCount(int itemCount) {
		this.itemCount = itemCount;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserImg() {
		return userImg;
	}
	public void setUserImg(String userImg) {
		this.userImg = userImg;
	}
	public String getItemTitle() {
		return itemTitle;
	}
	public void setItemTitle(String itemTitle) {
		this.itemTitle = itemTitle;
	}
	@Override
	public String toString() {
		return "CommunityVo [communityId=" + communityId + ", userId=" + userId + ", itemTitle=" + itemTitle
				+ ", itemContent=" + itemContent + ", itemDate=" + itemDate + ", itemCount=" + itemCount + ", userName="
				+ userName + ", userImg=" + userImg + "]";
	}
}
